package com.bjpowernode.crm.workbench.dao;

import com.bjpowernode.crm.workbench.eneity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    //根据线索的公司姓名查询该客户是佛存在
    Customer queryCustomerByName(String company);
    //新建客户
    int insertCustomer(Customer customer);
    //模糊查询客户姓名
    List<String> getCustomerNameList(String name);
    //通过名字查询客户
    Customer getCustomerByName(String customerName);
    //根据id查姓名
    String selectById(String customerId);
}
